﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DP.Decorator
{
    public class IntegralDecorator : BaseDecorator
    {
        public IntegralDecorator(BasePay basepay) : base(basepay)
        {
            this._BasePay = basepay;
        }

        public override void Pay()
        {
            this._BasePay.Pay();
            Console.WriteLine("开始积分支付。。。。");
        }
    }
}
